# Author:sp
# CreaTime: $(DATE)
# FileName: $(NAME)
# Description: simple introdution of the code
class Person(object):
    def __init__(self,name,age):
        print('__init__被调用执行了，self的id值为{0}'.format(id(self)))
        self.name=name
        self.age=age
    def __new__(cls, *args, **kwargs):
        print('__new__被调用执行了，cls的id值为{0}'.format(id(cls)))
        obj=super().__new__(cls)
        print('obj创建的对象的id为：{0}'.format(id(obj)))
        return obj
print('object这个类对象的id为：{0}'.format(id(object)))
print('Person这个类对象的id为：{0}'.format(id(Person)))
#创建Person类的实例对象
pl=Person('jack',20)
print('pl这个Person类的实例对象的id：{0}'.format(id(pl)))